home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best of www.BestZips.com (Collector's Edition)
/
Best of WWW.BESTZIPS.COM Collector's Edition (JCSM Shareware) (JCS Marketing).ISO
/
internet
/
mcoach20.zip
/
Mailcoach V2.do_
/
Mailcoach V2.do
(
.txt
)
Wrap
Word Document
|
1996-10-07
|
117KB
|
1,443 lines
Mailcoach
V2.00
SMTP / POP3 server with UUCP transport
System requirements 4
Client software support 4
Features 5
New features in V2.0 5
Ordering information 5
Registration 5
Setting up the server 6
Windows 95 6
Windows NT 3.51 6
Windows NT 4.0 6
Setting up the client 7
Windows 95, NT 3.51 and NT4.0 7
Installing Mailcoach 7
Configuring Mailcoach 8
Menu: Setup - System 8
Menu: setup - hosts 10
Menu: Setup - Users 13
Menu: Setup - Transport schedule 15
Other menus 16
File menu 16
View menu 16
Help 16
Remote commands 17
Register new user through e-mail 17
Deleting user through e-mail 17
Create an ΓÇ¥Auto replyΓÇ¥ mail 18
Deleting an ΓÇ¥Auto replyΓÇ¥ mail 18
Setting up a forward adress through e-mail 19
Deactivating a forward adress through e-mail 19
Sending priority mail 20
Internal mail transport and sorting 20
Sorting lists 20
Creating scripts 21
Summary 21
Structure 21
Variables 21
Login variables 22
System variables 22
String constants 22
Expressions 23
Comments 23
Keywords 23
Commands 23
Reserved words 25
Additional information 25
Support 26
Mailcoach V2.00
Mailcoach provides the link between your Local Area Network (LAN) and the
global Internet. It is a gateway product that provides SMTP (Simple Mail
Transport Protocol) and POP3 (Post Office Protocol Ver 3) servers for the
local LAN that delivers and receives E-mail from your Internet Service
Provider (ISP) using the UNIX To UNIX Copy Protocol (UUCP).
This means that it can receive and deliver mail to the LAN using standard
(and often free) Internet mail software. You can schedule Mailcoach to
deliver mail to your ISP at regular intervals. Once the mail has been
forwarded, any mail addressed to your LAN is downloaded and stored by
Mailcoach. When the next user logs into the LAN these stored messages are
downloaded to the individual workstation.
There are several advantages using this method instead of multiple mailbox
accounts at
your ISP:
1. ItΓÇÖs cost effective as all mail are transferred in compressed form at
the same time.
2. As system administrator you are in control of the E-mail system. You
decide the number of mailboxes, what their name is and who they are
allocated to.
3. You can manage your own domain rather than advertising your ISPΓÇÖs domain
name on every E-mail message.
System requirements
ΓÇó Windows 95 or Windows NT 3.51 or later.
ΓÇó Memory requirements Windows 95, 8 MB, 16 recommended
ΓÇó Memory requirements NT3.51- minimum 16 MB, 24 recommended
ΓÇó LAN with TCP/IP protocol installed.
ΓÇó A modem, minimum 14.400 bps
ΓÇó UUCP account at your ISP
Client software support
Mailcoach should work with any Internet mail software using SMTP/POP3.
The following programs have been successfully tested:
• Netscape® navigator
• Microsoft® Exchange
ΓÇó Microsoft mail & news
ΓÇó Eudora
ΓÇó Pegasus mail
ΓÇó Forte Agent, Forte Free agent
ΓÇó Embla
ΓÇó Pronto mail
ΓÇó MTXLink mail client
All company and product names mentioned herein are trademarks or registered
trademarks of their respective companies.
Features
ΓÇó SMTP/POP3 server
ΓÇó UUCP mail transport
ΓÇó Individual or Global POP3 password.
ΓÇó Unlimited number of alias for each user
ΓÇó Any mailbox can have auto reply message
ΓÇó Can automatically forward mail to any specified address
ΓÇó Urgent mail can immediately be transported to your ISP with the Priority
Mail feature
ΓÇó Supports optional user registration through E-mail
ΓÇó An auto-reply can be set up by E-mail. The auto-reply can contain
attachments of any kind.
ΓÇó System administration can be performed from ant workstation through E-
mail
ΓÇó Easy to install and administrate.
ΓÇó Fully complies with RFC 821, 822 and 1725. Some support for 1869/1870.
New features in V2.0
ΓÇó Built in UUCP transport with almost double throughput compared to V1.0
ΓÇó Can handle several domains and hosts simultaneously.
ΓÇó Connect to remote hosts via TCP/IP and PPP
ΓÇó Change forward address and activate/deactivate via E-mail.
ΓÇó Distribution lists.
ΓÇó Now using Windows telephone API (TAPI) where available.
ΓÇó New script engine, compatible with Windows 95 scripts.
ΓÇó Schedule has got more options.
ΓÇó More logging options available.
ΓÇó Optimized for handling large attachments.
Ordering information
For pricing and ordering information, see Mailcoach homepage at:
http://www.ymex.se/mailcoach.htm
Registration
When shipped, Mailcoach is a 3-user trial version. When you register
Mailcoach, you will receive a key that you enter into Mailcoach. The key
contains information about your registration, serial number and the number
of users you have ordered. This way you only need to order a new key to add
more users.
Setting up the server
Windows 95
1. Setup the TCP/IP protocol. Choose ΓÇ¥StartΓÇ¥-button, ΓÇ¥settingsΓÇ¥, ΓÇ¥Control
panelΓÇ¥
2. Double-click the ΓÇ¥NetworkΓÇ¥ icon. In the dialog box, there should be a
TCP/IP protocol installed to your network card, if not, choose the ΓÇ¥addΓÇ¥
button
select ΓÇ¥protocolΓÇ¥, choose TCP/IP. Now you should see TCP/IP( in the
listbox.
3. Select the TCP/IP protocol in the list-box, choose the ΓÇ¥propertiesΓÇ¥
button, select the ΓÇ¥IP-addressΓÇ¥ tab, specify the IP-address as
192.168.0.1 and ΓÇ¥subnet maskΓÇ¥ as 255.255.255.0
4. DNS tab, If you are about to use the UUCP via TCP/IP option, follow the
instructions you have received from your ISP to setup a SLIP or PPP
account.
5. Choose the ΓÇ¥OKΓÇ¥ button. If Windows asks you to reboot, select ΓÇ¥yesΓÇ¥.
6. Your server is configured!
Windows NT 3.51
1. Setup the TCP/IP protocol. Open the ΓÇ¥MainΓÇ¥ program group. Double click
on the ΓÇ¥Control panelΓÇ¥ icon.
2. In the control panel, double-click the ΓÇ¥NetworkΓÇ¥ icon. Check if there is
a TCP/IP protocol available in the ΓÇ¥installed network softwareΓÇ¥-listbox.
If not installed, select ΓÇ¥add softwareΓÇ¥, select the TCP/IP protocol and
follow the instructions for installing.
3. Select the TCP/IP protocol in the list-box, choose the ΓÇ¥ConfigureΓÇ¥
button, specify the IP-address as 192.168.0.1 and ΓÇ¥subnet maskΓÇ¥ as
255.255.255.0, leave all other fields blank.
4. DNS button, If you are about to use the UUCP via TCP/IP option, follow
the instructions you have received from your ISP to setup a SLIP or PPP
account.
5. Choose the ΓÇ¥OKΓÇ¥ button. If Windows asks you to reboot, select ΓÇ¥yesΓÇ¥.
6. Your server is configured!
Windows NT 4.0
1. Setup the TCP/IP protocol. Choose ΓÇ¥StartΓÇ¥-button, ΓÇ¥settingsΓÇ¥, ΓÇ¥Control
panelΓÇ¥
2. Double-click the ΓÇ¥NetworkΓÇ¥ icon. Select the Protocol tab. In the dialog
box, there should be a
TCP/IP protocol installed, if not, choose the ΓÇ¥addΓÇ¥ button and follow
instructions for installing
TCP/IP-protocol
3. Select the TCP/IP protocol in the list-box, choose the ΓÇ¥propertiesΓÇ¥
button, select Specify an IP-address Set the IP-address as 192.168.0.1
and ΓÇ¥subnet maskΓÇ¥ as 255.255.255.0
4. The DNS tab, If you are about to use the UUCP via TCP/IP option, follow
the instructions you have received from your ISP to setup a SLIP or PPP
account.
5. Choose the OK button and then the close button. If Windows asks you to
reboot, select ΓÇ¥yesΓÇ¥.
6. Your server is configured!
Setting up the client
Windows 95, NT 3.51 and NT4.0
1. Install and configure TCP/IP by following the instructions for the
server but use a unique
IP-address for each client, 192.168.0.2 for the first, 192.168.0.3 for the
second and so on.
2. Choose the ΓÇ¥OKΓÇ¥ button. If Windows asks you to reboot, select ΓÇ¥yesΓÇ¥.
3. Create a hosts file. Use the notepad. Enter one line containing:
IP-Adress InternetDomain. Example: 192.168.0.2 company.com ΓÇ¥InternetDomainΓÇ¥
is your registered
internet domain, for example ΓÇ¥company.comΓÇ¥ Be sure to strike carriage
return at the end of the above line
before saving.
1. Save the file as ΓÇ¥hostsΓÇ¥, into Windows 95/NT directory, usually
C:\WINDOWS.
2. Rename the file created (hosts.txt) to ΓÇ¥hostsΓÇ¥, with no extension.
3. Repeat step 1-5 for each client.
Installing Mailcoach
Packet zip version
ΓÇó Unzip the file: Mcoach.zip to an empty directory.
ΓÇó Run setup.exe
Disk version
ΓÇó Insert Disk 1 of 3 into A:
ΓÇó Select ΓÇ¥RunΓÇ¥ from your ΓÇ¥startΓÇ¥ menu or from ΓÇ¥fileΓÇ¥ menu if NT 3.51, type
A:\Setup.exe and strike ENTER.
Follow the instructions.
Configuring Mailcoach
Menu: Setup - System
General - tab
Timezone: Enter your local time zone, for example GMT, PDT, EST or
similar.
Local diff: The local differential, for example +0200 (in the range of
+/-1200)
Global POP3 password: The mail administrator may decide whether a global
password will be used or
individual password for each user. If one or more users
should use a global
password, enter this password here.
Domain: Enter the domain name that is used on your server if
available. This field is optional.
IP-address: If you have followed our setup instructions for the
server, enter
1 as the IP-address.
Priority mail method: Method to use when requesting priority mail
transport
This is further described in the Sending priority mail
-section
Use X-priority field: Some Mail programs uses the header field called X-
priority
to indicate the level of priority. If this option is
selected and
mail is sent with priority of 1 (highest), the UUCP
transport will
start immediately.
Use (priority) in the
subject field: Some mail program does not support priority mail, in
these cases
you can still use the priority function by writing:
ΓÇ¥(priority)ΓÇ¥ at the
end of your ΓÇ¥SubjectΓÇ¥ line. The command itself will be
removed before
transferring the mail.
Allow user registration
through E-mail: When this option is activate, all users can register
there own
E-mail address by sending an E-mail to Mailcoach.
This is further described in the ΓÇ¥Remote commandΓÇ¥ section
Server windows visible: The two servers, SMTP and POP3 is running as
two small separate
windows. If this option is unchecked, these windows will be
hidden.
Ports - tab
SMTP-Port: The port where the SMTP service can be found. This should
normally
never be changed!
POP3-Port: The port where the POP3 service can be found. This should
normally
never be changed!
Reserved names - tab
Some user names should be reserved for use by system administrator only and
some names are used internally by Mailcoach. Such name is ΓÇ¥postmasterΓÇ¥.
There are already a few names registered in this list and they cannot be
removed.
If you like to add your own ΓÇ¥reserved nameΓÇ¥, for example ΓÇ¥webmasterΓÇ¥, type
the name in the Reserved name - field and press the ΓÇ¥addΓÇ¥ button. If you
want to remove a ΓÇ¥Reserved nameΓÇ¥, select the name from the list and press
the ΓÇ¥removeΓÇ¥ -button.
Logging
There are two groups of logging options. ΓÇ¥NormalΓÇ¥ and ΓÇ¥Fault localizationΓÇ¥.
Normal: these options create loggs that uses relatively small amount of
disk-space and contains the most necessary information. Options within
ΓÇ¥Fault localizationΓÇ¥, creates loggs with extensive information concerning
each issue. The size of these loggs may grow fast for each run.
The UUCP-logging options will be reset if Mailcoach is restarted, this is
because that if left active, they may
soon consume all available hard-disk space.
In addition, there are two more loggs that cannot be disabled, events-logg
and the error-logg. The event-log
contains extraordinary information about certain events. One such event is
when mail-files are deleted through
the in/out-boxes. All logg-files are saved in the \spool directory.
File names: Information about:
Mail.log mail sorting.
uucp.log mail transport via UUCP.
Script.log script processing
SmtpPop3.log SMTP and POP3 protocol details
UucpCmd.log uucp with handshaking details
UucpAdv.log uucp with advanced details.
Mailcoach.log errors and suspected errors.
Events.log special events.
Menu: setup - hosts
This page contains a list of available hosts.
Usually Mailcoach is used only for one company and itΓÇÖs Internet domain,
but, Mailcoach can
handle several companies and several domains, they may even use different
ISP.
When a UUCP transport is started, all hosts that are shown as ΓÇ¥activeΓÇ¥ in
this list will
be interrogated for mail.
Note that some of these tabs will look different depending on which
operating system you are using.
NT3.51 can only connect to a modem directly while Windows 95 and Windows
NT4.0 will use
Windows Telephone API (TAPI) to connect, therefore, a lot more settings are
available in the NT 3.51 setup.
New… Press this button to create a new host setup
Edit… Select a host in the listbox and press this button to
edit.
Delete Select a host in the listbox and press this button
to delete user.
When the ΓÇ¥NewΓÇ¥ or ΓÇ¥EditΓÇ¥ -button is pressed you will get a menu with the
following tabs
General - tab
Host setup name: This field is for information only. It is displayed in the
host-list and when
a transport is started.
Activated: If this option is not active, no post will be transferred
to/from this domain.
Mail domain: Your Internet mail domain name should be entered
here, for example
ΓÇ¥company.comΓÇ¥ Note: This domain has nothing to do with the
domain specified
in Windows 95 / NT networks.
Default domain: If a user has not setup a ΓÇ¥return addressΓÇ¥ in his
mail client, Mailcoach will look
for a default domain to take care of his mail. Activate
this option on one of your
hosts setup. If no default domain is found, his mail will
be left in the \spool
directory.
Using:
(Modem/TCP/IP) Select if you wish to use direct call (modem) to
your ISP, or if you wish to
connect via TCP/IP. Only one of the two fields below will
be shown depending
on this selection.
Phone number: The phone number used when connecting to your ISP.
This number can be a
canonical number, i.e. containing country code. This field
is only available if
ΓÇ¥Using:ΓÇ¥ is set to Modem.
Remote access entry: Shows a list of available ΓÇ¥Remote accessΓÇ¥ phone-book
entries. There is no way to edit
these entries in Mailcoach. Creating and changing ΓÇ¥Remote
accessΓÇ¥ entries must be
done in Windows 95 / NT. Select the entry you wish to use
when connecting via
TCP/IP. This field will only be available if ΓÇ¥Using:ΓÇ¥ is
set to TCP/IP
Call retries: If the line is busy when the UUCP-transport is
trying to connect, this is the number
of retries Mailcoach will do.
General - tab cont…
Dial timeout: When this time has expired, Mailcoach will quit the
dial-up sequence. In most cases
it will be used twice, first when waiting for the modem to
answer, then when waiting
for a ΓÇ¥connectΓÇ¥ and/or carrier detect. When using UUCP via
TCP/IP, this is used
a third time when waiting for the host to answer via
TCP/IP.
Retry time: Before retrying a call after a busy signal, Mailcoach
waits this time.
Login - tab:
Login name: Enter the login name used when connecting to your ISP.
Password: Enter the password used when connecting to your ISP.
Uucp login name: If you need to enter an additional username when
connecting, use this field.
Uucp password: If more then one password is needed when connecting
to your ISP, use this field.
Local UUCP hostname: Enter the hostname that Mailcoach should use.
Remote UUCP hostname: Enter the name of your ISPΓÇÖs UUCP.
Login script - tab
This tab contains an simple editor where the scripts can be created or
edited. Enter the name of
your script file in the ΓÇ¥script filename-fieldΓÇ¥ The filename must have the
extension ΓÇ¥SCPΓÇ¥.
You can load an example script by pressing the button with three dots. The
example script
is available in the \Mailcoach directory. Scripts are saved in the \spool
directory.
See the Creating scripts section for script details
Connection - tab
Protocol: In this version, only the original UUCP ΓÇÿgΓÇÖ protocol is
supported
Packet size: Select the packet size you wish your ISPΓÇÖs UUCP
should use when
sending to Mailcoach.
Windows: Select the number of windows that your ISPΓÇÖs UUCP may send
to
Mailcoach without first getting an received acknowledge.
The above settings can have great impact on the overall performance of UUCP
transport. It can pay off trying to optimize these settings, especially
when using long distance call. Recommended setting to start with is 64/7.
Note: Not all UUCP implementations can handle size of packets greater then
64 and Windows greater then 3. If you experience problems, set Packet size
to 64 and Windows to 3.
Connection - tab cont…
Settings that are only available in Windows 95/NT 4.0[1]
Select location: Select your location from the listbox
Location properties… Press this button to edit and create new locations.
Connect using: Select the device (modem) you wish to use when
connecting.
Device properties… Press this button to change settings for your device
(modem)
Settings that are only available in Windows NT 3.51
Current modem: Contains the name of the current selected modem.
Modem… Press this button to select modem manufacturer and model
from a list.
Comport: Select the comport where your modem is connected.
Connectspeed: Select the Baud rate between your PC and modem. If
you have chosen
a modem from the list, Baud rates higher then your modem
can handle
are not displayed.
Parity: Select parity, none, even, odd.
Data bits: Select no databits, 7 or 8 Note: UUCP protocol ΓÇÿgΓÇÖ
cannot handle 7-bits.
Stop bits: Select 1 or 2
Modem initialization: If you selected modem from the list, the basic
initialization string is placed here.
You may add additional strings after this if you wish.
Remember to end the string
with ΓÇ¥carriage returnΓÇ¥ (^M)
Settings that are only available when using UUCP via TCP/IP
Host to connect to: Enter the name of the host where your UUCP
account is available.
UUCP port: Select the port where the UUCP service is available.
This is usually
port 540.
Remote access username: Enter the username used for connecting to
your ISP via PPP - TCP/IP
Remote access password: Enter the password used when connecting
via PPP - TCP/IP
Host lookup timeout: When connecting via TCP/IP, Mailcoach checks if
the requested host
already is available, i.e. a remote access session
already active. The time
selected here, is the time Mailcoach waits for an
answer for this request.
If no answer is received before this time has
elapsed, Mailcoach will
start itΓÇÖs own Remote access dial-up session.
Do not use active connection: If this box is checked, Mailcoach will
always create itΓÇÖs own Remote access
session. If one is already available, Mailcoach will
not use it.
Menu: Setup - Users
This page contains a list of registered users.
New… Press this button to register a new user
Edit… Select a user in the listbox and press this button to
edit.
Delete Select a user in the listbox and press this button
to delete user.
When the ΓÇ¥NewΓÇ¥ or ΓÇ¥EditΓÇ¥ -button is pressed you will get a menu with the
following tabs
General - tab
Username/pop3 account: Enter the name you wish to use when accessing
the POP3 account.
E-mail address: The E-mail name without domain.
POP3 password: If the user should have a private password,
enter this here.
Access level: This selection determines which level of access
the user has.
-User Normal access
-Priority mail The user can request immediate UUCP transport
by choosing
priority mail.
-Postmaster One, and only one user for each domain must
have this selection. This user
will receive all mail addressed to
postmaster@yourdomain.
In this system, the postmaster is also the ΓÇ¥system
administratorΓÇ¥
Important: When Mailcoach is installed and
configured, the access
to all settings is protected by password. Only the
Postmaster
can access settings with his E-mail name and
password!
Domain: Select the domain that this user should use.
Use global pop3 password: If this option is selected, the user uses the
global password
specified in the ΓÇ¥system - setup - general - tab.ΓÇ¥
Alias - tab
You may set up one or more alias for your E-mail address, for example:
If you create the alias: hobie, for the user robert , then mail can be sent
either
to hobie@yourdomain or to robert@yourdomain
If you like to add an ΓÇ¥aliasΓÇ¥, type the name in the Alias - field and press
the ΓÇ¥addΓÇ¥ button.
If you want to remove an ΓÇ¥aliasΓÇ¥, select the name from the list and press
the ΓÇ¥removeΓÇ¥ -button.
Use alias: This option must be selected to activate the use of alias.
Auto reply - tab
Allow registration and
use of auto reply: If this option is checked, the user can create and
add
his own ΓÇ¥auto replyΓÇ¥ by sending it to Mailcoach.
Auto reply is further described in the ΓÇ¥Remote commandsΓÇ¥
section.
Forward - tab
Use forwarding: When this option is selected all mail to this
user is redirected
(forwarded) to the address specified in the ΓÇ¥forward
addressΓÇ¥ field
Forward address: Enter the address to where the mail should be
forwarded.
Distribution - tab
Mail to one user can be copied to other users, this can be useful when
having an E-mail address
info@company.com. In this case, mail could be copied to both the sales
office and the support office
and each of them can answer the questions that concerns them.
Distribution activated: This option must be checked to enable
distribution.
Keep own mailbox closed: If checked, no mail will be save in this users
own mailbox.
To add recipients, select a user from the listbox and press the ΓÇ¥addΓÇ¥
button.
If you want to remove recipients, select from the list and press the
ΓÇ¥removeΓÇ¥ -button.
Menu: Setup - Transport schedule
Specify when or how often Mailcoach shall transport your mail. You may
select transport at given times and/or intervals.
Day: Select the day that this task should be performed.
You may select Monday to
Friday, weekdays, weekends or every day.
Timed: If option is selected, UUCP transport will be
performed at given time.
Interval: If option is selected UUCP transport will be
performed with the interval
selected and between the time setup below.
Between: Select between which hours the above interval should
be valid.
Activated: If not checked, the complete schedule is
deactivated
To select a new transport event, select day, or interval, set time or
interval together with between-setting. Press the add button to add this
setting to list. You may schedule up to 100 events.
To remove a scheduled transport, select from the list and press the remove
button.
Other menus
File menu
UUCP Mail transport now! Calls your ISP immediately and exchange mail.
Lock system Locks access to Mailcoach menus. To gain access
again,
ΓÇ¥postmasterΓÇ¥ E-mail name and POP3 password must be
entered.
Exit Terminates Mailcoach.
View menu
Outbox
Shows a list of all mail in all domains, queued for UUCP transport to each
host. The contents are updated each minute.
It is possible to delete mail from this menu by selecting one or more items
and pressing the delete key. However, each time you delete a file in this
menu, a comment will be written to the event-logg. This will contain the
name of the administrator that deleted files, which files was deleted, the
address of the sender and the recipient.
Inbox
Shows a list of all user mail that has not been fetched yet. The contents
are updated each minute.
It is possible to delete mail from this menu by selecting one or more items
and pressing the delete key. However, each time you delete a file in this
menu, a comment will be written to the event-logg. This will contain the
name of the administrator that deleted files, which files was deleted, the
address of the sender and the recipient.
Help
Contents… On-line help
Register… Select this menu when you want to enter the registration
details,
this is further described in the Registration section.
About… Information about this software and the distributor.
Remote commands
ΓÇ¥Remote commandsΓÇ¥ are commands that can be performed by sending a special E-
mail to Mailcoach.
You will receive an E-mail after approx. 2 minutes containing the result
of your request.
It is important that the mail software used, has a valid return address in
the domain where a remote command is requested. The square brackets shown,
must be included. The message body may be left blank.
Example:
Subject: [john.smith#1234[richard#9876]
Register new user through e-mail
With Mailcoach, you can let your users register there own e-mail. This
function is available
only if itΓÇÖs activated in ΓÇ¥setup - system - generalΓÇ¥
To register a new user this way the user just sends an e-mail to
newuser@yourdomain
As subject, write:
[RequestedUsernameWithoutDomain#password]
System administrator
The system administrator can register new users at any time within his
domain, even if the service is
not activated in the setup menu. The command is a bit different:
As subject, write:
[RequestedUsernameWithoutDomain#password
[sysadminNameWithoutDomain#ValidPassword]
Deleting user through e-mail
This service is restricted to system administrator only.
To delete a user, send an e-mail to deluser@yourdomain As subject, write:
[UsernameToDeleteWithoutDomain[sysadminNameWithoutDomain#ValidPassword]
Create an ΓÇ¥Auto replyΓÇ¥ mail
ΓÇ¥Auto replyΓÇ¥ can be used for several purposes. For example:
ΓÇó Automatic response to indicate to the sender that you have received his
letter.
ΓÇó Sending address change information, if you have changed your address or
if youΓÇÖre having a temporary address while on holiday.
ΓÇó Automatic sending of product or company -informationΓÇ¥
The user can set up his auto ΓÇ¥reply messageΓÇ¥ by himself. Follow the steps
below:
Create the message you wish to use as ΓÇ¥auto replyΓÇ¥ using your standard mail
software. The mail will be saved exactly as you set it up, including any
attachments. At the end of your subject line, add the following text:
Subject: This is the subject. [YourUserNameWithoutDomain#ValidPassword]
The address is used to identify the receiver of the ΓÇ¥auto replyΓÇ¥ message.
This part of the Subject-line
will be erased before saving the message.
Send the mail to: autoreply@yourdomain
System administrator
The system administrator can create ΓÇ¥auto replyΓÇÖsΓÇ¥ for any user within his
domain. The command is
a bit different:
Subject: This is the subject. [UserNameWithoutDomain
[sysadminNameWithoutDomain#ValidPassword]
Deleting an ΓÇ¥Auto replyΓÇ¥ mail
To delete a ΓÇ¥auto replyΓÇ¥ mail, send E-mail to delautoreply@yourdomain
As subject, write:
[UsernameWithoutDomain #ValidPassword]
System administrator
The system administrator can delete any users ΓÇ¥auto replyΓÇÖsΓÇ¥ within his
domain, at any time, use the following command:
[UsernameWithoutDomain
#ValidPassword[sysadminNameWithoutDomain#ValidPassword]
Setting up a forward adress through e-mail
To setup and activate a forward address for your account, you send an E-
mail to forward@yourdomain
As subject, write:
[NewForwardAddress[YourEmailAddressWithoutDomain#password]
If you omit the forward address, the current forward address will be
activated:
[[YourEmailAddressWithoutDomain#password]
Deactivating a forward adress through e-mail
To deactivate your current forwarding, send a mail to
stopforward@yourdomain As subject, write:
[YourEmailAddressWithoutDomain #ValidPassword]
Sending priority mail
When Mailcoach receives a priority mail, it will immediately run a UUCP
transport.
To Use this function, the user must have the access-level of ΓÇ¥priority
mailΓÇ¥ or higher,
the option must be activated under setup - system - general and the user
mail-software must
have a valid return address.
There is no standardized method for handling priority mail within Internet
yet and because
of that, no mail software handles this thing the same way (if it handles it
at all).
If your mail software can send priority mail, try it and see if it works.
Pegasus, Eudora,
Microsoft mail & News, Netscape and Embla is tested and works fine.
If it doesnΓÇÖt work, you need to use the second method:
In the subject field, write ΓÇ¥(priority mail)ΓÇ¥ after your own subject. This
command
instructs Mailcoach to deliver your mail immediately. The extra field will
be deleted
from your mail before transferring.
Internal mail transport and sorting
All mail that are posted to a user registered in Mailcoach will be
transported within one minute without sending it through UUCP first. If
there are CC to the outside does not matter.
Sorting lists
Several of the lists available in Mailcoach has buttons as caption. By
pressing these buttons, the list will be sorted in that column.
Creating scripts
Summary
Most, if not all ISP requires a logon procedure, this procedure can look
very different from ISP to ISP. Some will only need username and password,
while others have a complete menu of selections. To automate such
login procedure, you need a script.
A script is a text-file containing commands and expressions that are setup
to process incoming text from the modem and respond with system variables
or text.
In Mailcoach main directory there is an example script that you can use and
modify to fit your needs.
Structure
The structure of a script is shown below:
Proc
Variable declaration
Command block
endproc
As seen above, the script must start with ΓÇ¥procΓÇ¥ and end with ΓÇ¥endprocΓÇ¥.
All variables must be declared before used. Commands are executed from top
to bottom and the script ends when it reaches endproc.
Variables
A script can contain variables. A variable must begin with a character
followed by digits or character in upper or lowercase. Reserved words
cannot be used. See the list of reserved words in the end of this chapter.
You must declare a variable before using it and when declaring it you
select the type of variable. The following types are available.
Type Explanation
Integer Can contain a number between -32767 and +32767
String Can contain characters or digits.
Boolean Can only contain the value TRUE or FALSE
Variables can be assigned values when declared. Example:
Integer Count = 3
Integer Timeout = (4*3)
Integer i
Boolean Done = FALSE
String ThePassword = ΓÇ¥MyPasswordΓÇ¥
Login variables
Login variables contains the information entered in the Setup / host /
Login-tab.
The following login variables are available.
Name Type Login entry:
$UserId String Login name
$Password String Password
$UucpLogin String Uucp login name
$UucpPassword String Uucp password
$LocalHostname String Local UUCP hostname
$RemoteHostName String Remote UUCP hostname
System variables
System variables are variables that are preset by Mailcoach and cannot be
changed in the script. The following system variables are available:
Name Type Explanation
$Success Boolean This variable is set to TRUE if certain
commands
is successful
$Failure Boolean This variable is set to TRUE if certain
commands
fails.
String constants
Sometimes special characters are needed when sending strings to the ISP.
The following
string constants can be used to replace these.
String Explanation
^char Caret translation.
If char is a character between ΓÇ¥@ΓÇ¥ and ΓÇ¥_ΓÇ¥, this will be
converted to a
character value between 0 and 31. ^M for example, is converted
to carriage
return.
If char is a character between a and z, this will be converted
to a character value
between 0 and 26. Other characters will not be converted.
<cr> Carriage return
<lf> Line feed
\ΓÇ¥ Citation character
\^ Circumflex
\< Less then-character
\\ Backslash
Example:
transmit ΓÇ¥^MΓÇ¥
transmit ΓÇ¥UUCP^MΓÇ¥
transmit ΓÇ¥<cr>ΓÇ¥
transmit ΓÇ¥UUCP<cr>ΓÇ¥
waitfor ΓÇ¥ogin:<cr>ΓÇ¥
Expressions
An expression is a combination of operators and arguments that is
calculated to a result.
Available operators:
Operator Type of operator Type
* / Multiply, divide Integer
+ - Add, subtract Integer, String (only add)
< > Comparisation less/greater Integer
<= >= Less or equal, greater or equal Integer
= = Equal Integer
!= Not equal Integer
Example:
Count = 2 + 9 * 10
Transmit ΓÇ¥UUCPΓÇ¥ + ΓÇ¥ServiceΓÇ¥
Delay 26 / 2
Comments
All text preceded by a semicolon is ignored.
Example:
;This is a comment
Transmit ΓÇ¥UUCPΓÇ¥ ;This is also a comment
Keywords
proc Marks beginning of script
endproc Marks end of a script
Integer name [=value] Declares a integer variable
String name [=value] Declares a string variable
Boolean name [=value] Declares a Boolean variable
Commands
The following commands are available:
Delay nSeconds
Pauses a script.
Example:
Delay 2 ;Delay for two seconds
Beep
Sends a signal to the system speaker.
Goto Label
Branches to a specified line.
Halt
Stops the script and terminates the UUCP session.
If condition then
Commands
endif
Executes the commands as long as condition is TRUE.
Example:
if $UserId = = ΓÇ¥Service:ΓÇ¥ then
Transmit ΓÇ¥UUCP^MΓÇ¥
endif
Label:
Specifies a location in the script to jump to.
Transmit string
Sends the characters specified in string to the remote computer.
Example:
Transmit ΓÇ¥UUCPΓÇ¥ + ΓÇ¥^MΓÇ¥
Transmit $UserId + ΓÇ¥^MΓÇ¥
Waitfor string [,matchcase] [then label] [until time]
Waits until the specified string has been received by the remote
computer.
If the parameter matchcase is not included, it does not care if the
characters
received are upper or lowercase.
If a matching string has been received and then parameter is used, the
script will branch to
the location specified by label.
Until time-parameter specifies the maximum number of seconds to wait
for a string before it
starts executing the next line in the script. Without this command,
the script might wait forever,
although it can be canceled by user or by lost carrier.
If the specified string is matched, the system variable Success is set
to TRUE, otherwise it is
set to false. The system variable will act the opposite, TRUE if
failure.
Example:
waitfor ΓÇ¥Login:ΓÇ¥
waitfor ΓÇ¥Password:ΓÇ¥, matchcase
waitfor ΓÇ¥UUCPΓÇ¥ then Done
waitfor ΓÇ¥name:ΓÇ¥ until 20
Reserved words
and boolean databits delay
do endif endproc endwhile
even FALSE getip goto
halt if integer ipaddr
keyboard mark matchcase none
odd off on or
parity port proc raw
screen set space stopbits
string then transmit TRUE
until waitfor while
Additional information
For information about:
ΓÇó General information
ΓÇó Local representatives and addresses
ΓÇó Current release and upgrades
ΓÇó Frequently asked questions
ΓÇó Installation tips
Please visit Mailcoach home page at:
http://www.ymex.se/mailcoach.htm
or
http://www.multi.se/ymex/mailcoach.htm
Information from Ymex electronics AB.
Please send E-mail to:
info.mailcoach@ymex.se
No telephone support available.
Support
If you have purchased your Mailcoach from a local representative, please
contact them for support.
You can find addresses or links to all representatives on Mailcoach home
page at:
http://www.ymex.se/mailcoach.htm
or
http://www.multi.se/ymex/mailcoach.htm
Support from Ymex electronics AB
Please send E-mail to:
support.mailcoach@ymex.se
-----------------------
[1] You will need an upgraded Mailcoach when NT4.0 is released as final.